package gxd26.basic;

public class J02_Expression02 {

	public static void main(String[] args) {
		// 7. 각 표현식에 대한 결과 값을 계산하여라.
		
		int a = 65;
		char b = 'B';
		System.out.println(a);
		System.out.println((char)a);
		System.out.println(b);
		System.out.println((int)b);
		System.out.println('A'+1);
		System.out.println();
		
		
		
										
		
		System.out.println("가. 3+4.5*2+27/8 -> "+(3+4.5*2+27/8));
		System.out.println("나. true||false&&3<4||!(5==7) -> "+(true||false&&3<4||!(5==7)));
		System.out.println("다. true||(3<5&&6>=2) -> "+(true||(3<5&&6>=2)));
		System.out.println("라. !true>'A' -> 'B'>'A' "+('B'>'A'));
		System.out.println("마. 7%4+3-2/6*'Z' = "+(7%4+3-2/6*'Z'));
		System.out.println("마. 'D'+1+'M'%2/3 = " +('D'+1+'M'%2/3));
		System.out.println("바. 5.0/3+3/3 = "+(5.0/3+3/3));
		System.out.println("사. 53%21<45/18 -> "+(53%21<45/18));
		System.out.println("아. (4<6)||true&&false||false&&(2>3) -> "+((4<6)||true&&false||false&&(2>3)));
		System.out.println("자. 7-(3+8*6+3)-(2+5*2) = "+(7-(3+8*6+3)-(2+5*2)));
		
		

				
	}

}
